package com.yongan.purchase.entity;

import java.util.Date;
import java.util.List;

/**
 * @author Sunqing
 * 采购订货单
 *
 */
public class Purchase {
	private String  purchaseId;//ID
	private String  purchaseDdbh;//订单编号
	private String  purchaseJsfs;//结算方式
	private Date  purchaseDdrq;//到货日期
	private String  purchaseGys;//供应商
	private String  purchaseGysId;//供应商
	private String  purchaseLxdh;//联系电话
	private String  purchaseLxr;//联系人
	private String  purchaseYfdj;//预付金额
	private String  purchaseShck;//收货仓库
	private String  purchaseShckId;//收货仓库
	private String  purchaseCgy;//采购员
	private String  purchaseCgyId;//采购员
	private String  purchaseDddd;//到货地点
	private List<PurchaseGoodsDetails> details;
	private Date createTime;//创建时间	
	private Date updateTime;//更新时间
	private Boolean isChecked;
	public String getPurchaseId() {
		return purchaseId;
	}
	public void setPurchaseId(String purchaseId) {
		this.purchaseId = purchaseId;
	}
	public String getPurchaseDdbh() {
		return purchaseDdbh;
	}
	public void setPurchaseDdbh(String purchaseDdbh) {
		this.purchaseDdbh = purchaseDdbh;
	}
	public String getPurchaseJsfs() {
		return purchaseJsfs;
	}
	public void setPurchaseJsfs(String purchaseJsfs) {
		this.purchaseJsfs = purchaseJsfs;
	}
	public Date getPurchaseDdrq() {
		return purchaseDdrq;
	}
	public void setPurchaseDdrq(Date purchaseDdrq) {
		this.purchaseDdrq = purchaseDdrq;
	}
	public String getPurchaseGys() {
		return purchaseGys;
	}
	public void setPurchaseGys(String purchaseGys) {
		this.purchaseGys = purchaseGys;
	}
	public String getPurchaseGysId() {
		return purchaseGysId;
	}
	public void setPurchaseGysId(String purchaseGysId) {
		this.purchaseGysId = purchaseGysId;
	}
	public String getPurchaseLxdh() {
		return purchaseLxdh;
	}
	public void setPurchaseLxdh(String purchaseLxdh) {
		this.purchaseLxdh = purchaseLxdh;
	}
	public String getPurchaseLxr() {
		return purchaseLxr;
	}
	public void setPurchaseLxr(String purchaseLxr) {
		this.purchaseLxr = purchaseLxr;
	}
	public String getPurchaseYfdj() {
		return purchaseYfdj;
	}
	public void setPurchaseYfdj(String purchaseYfdj) {
		this.purchaseYfdj = purchaseYfdj;
	}
	public String getPurchaseShck() {
		return purchaseShck;
	}
	public void setPurchaseShck(String purchaseShck) {
		this.purchaseShck = purchaseShck;
	}
	public String getPurchaseShckId() {
		return purchaseShckId;
	}
	public void setPurchaseShckId(String purchaseShckId) {
		this.purchaseShckId = purchaseShckId;
	}
	public String getPurchaseCgy() {
		return purchaseCgy;
	}
	public void setPurchaseCgy(String purchaseCgy) {
		this.purchaseCgy = purchaseCgy;
	}
	public String getPurchaseCgyId() {
		return purchaseCgyId;
	}
	public void setPurchaseCgyId(String purchaseCgyId) {
		this.purchaseCgyId = purchaseCgyId;
	}
	public String getPurchaseDddd() {
		return purchaseDddd;
	}
	public void setPurchaseDddd(String purchaseDddd) {
		this.purchaseDddd = purchaseDddd;
	}
	public List<PurchaseGoodsDetails> getDetails() {
		return details;
	}
	public void setDetails(List<PurchaseGoodsDetails> details) {
		this.details = details;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "Purchase [purchaseId=" + purchaseId + ", purchaseDdbh="
				+ purchaseDdbh + ", purchaseJsfs=" + purchaseJsfs
				+ ", purchaseDdrq=" + purchaseDdrq + ", purchaseGys="
				+ purchaseGys + ", purchaseGysId=" + purchaseGysId
				+ ", purchaseLxdh=" + purchaseLxdh + ", purchaseLxr="
				+ purchaseLxr + ", purchaseYfdj=" + purchaseYfdj
				+ ", purchaseShck=" + purchaseShck + ", purchaseShckId="
				+ purchaseShckId + ", purchaseCgy=" + purchaseCgy
				+ ", purchaseCgyId=" + purchaseCgyId + ", purchaseDddd="
				+ purchaseDddd + ", details=" + details + ", createTime="
				+ createTime + ", updateTime=" + updateTime + ", isChecked="
				+ isChecked + "]";
	}
	public Boolean getIsChecked() {
		return isChecked;
	}
	public void setIsChecked(Boolean isChecked) {
		this.isChecked = isChecked;
	}
	
}
